package cc.rboot.fsm.core;

public interface IFsmService<T> {

    Class<? extends IFsmState<T>> defaultStateClass();

    IFsmState<T> transfer(T code, Class<? extends IFsmEvent> eventClass, Object... params) throws Exception;
}
